﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using System.Text;

namespace KC.Framework.Tenant
{
    [DataContract]
    public enum BusinessType
    {
        /// <summary>
        /// 未知
        /// </summary>
        [Display(Name = "未知")]
        [Description("未知")]
        [EnumMember]
        None = 0,

        /// <summary>
        /// 信息化
        /// </summary>
        [Display(Name = "信息化")]
        [Description("信息化")]
        [EnumMember]
        IT = 1,
        /// <summary>
        /// 人力资源
        /// </summary>
        [Display(Name = "人力资源")]
        [Description("人力资源")]
        [EnumMember]
        HR = 2,
        /// <summary>
        /// 销售
        /// </summary>
        [Display(Name = "销售")]
        [Description("销售")]
        [EnumMember]
        Sale = 4,
        /// <summary>
        /// 采购
        /// </summary>
        [Display(Name = "采购")]
        [Description("采购")]
        [EnumMember]
        Purchase = 8,
        /// <summary>
        /// 仓储
        /// </summary>
        [Display(Name = "仓储")]
        [Description("仓储")]
        [EnumMember]
        WareHouse = 16,
        /// <summary>
        /// 生产
        /// </summary>
        [Display(Name = "生产")]
        [Description("生产")]
        [EnumMember]
        Manufacturing = 32,
        /// <summary>
        /// 质检
        /// </summary>
        [Display(Name = "质检")]
        [Description("质检")]
        [EnumMember]
        QA = 64,
        /// <summary>
        /// 市场
        /// </summary>
        [Display(Name = "市场")]
        [Description("市场")]
        [EnumMember]
        Marketing = 128,
        /// <summary>
        /// 运营
        /// </summary>
        [Display(Name = "运营")]
        [Description("运营")]
        [EnumMember]
        Operation = 256,
        /// <summary>
        /// 财务
        /// </summary>
        [Display(Name = "财务")]
        [Description("财务")]
        [EnumMember]
        Accounting = 512,

    }

    [DataContract]
    public enum Bank
    {
        [Display(Name = "中国建设银行")]
        [Description("中国建设银行")]
        [EnumMember]
        CCB = 18,
        [Display(Name = "中国农业银行")]
        [Description("中国农业银行")]
        [EnumMember]
        ABC = 1,
        [Display(Name = "中国工商银行")]
        [Description("中国工商银行")]
        [EnumMember]
        ICBC = 2,
        [Display(Name = "中国银行")]
        [Description("中国银行")]
        [EnumMember]
        BOC = 3,
        [Display(Name = "中国民生银行")]
        [Description("中国民生银行")]
        [EnumMember]
        CMBC = 4,
        [Display(Name = "招商银行")]
        [Description("招商银行")]
        [EnumMember]
        CMB = 5,
        [Display(Name = "兴业银行")]
        [Description("兴业银行")]
        [EnumMember]
        CIB = 6,
        [Display(Name = "交通银行")]
        [Description("交通银行")]
        [EnumMember]
        BCM = 7,
        [Display(Name = "中国光大银行")]
        [Description("中国光大银行")]
        [EnumMember]
        CEB = 8,
        [Display(Name = "广东发展银行")]
        [Description("广东发展银行")]
        [EnumMember]
        GDB = 9,
        [Display(Name = "中信银行")]
        [Description("中信银行")]
        [EnumMember]
        CITICIB = 10,
        [Display(Name = "中国邮政银行")]
        [Description("中国邮政银行")]
        [EnumMember]
        PSBC = 11,
        [Display(Name = "中国平安银行")]
        [Description("中国平安银行")]
        [EnumMember]
        PABC = 12,
        [Display(Name = "华夏银行")]
        [Description("华夏银行")]
        [EnumMember]
        HB = 13,
        [Display(Name = "国家开发银行")]
        [Description("国家开发银行")]
        [EnumMember]
        CDB = 14,
        [Display(Name = "北京市商业银行")]
        [Description("北京市商业银行")]
        [EnumMember]
        BCCB = 15,
        [Display(Name = "汇丰银行")]
        [Description("汇丰银行")]
        [EnumMember]
        HSBC = 16,
        [Display(Name = "中国人民银行")]
        [Description("中国人民银行")]
        [EnumMember]
        PBC = 17,
    }
}
